package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.bo.ChangeOrderBO;
import com.cskaoyan.mall.model.bo.PageOrderBO;
import com.cskaoyan.mall.model.vo.OrderVO;
import com.cskaoyan.mall.model.vo.PageOrderInfoVO;
import com.cskaoyan.mall.model.vo.PageOrdersVO;

import java.util.List;

public interface OrderDao {
    List<PageOrderInfoVO> ordersByPage(PageOrderBO orderBO);

    int getTotalCounts(PageOrderBO orderBO);

    OrderVO order(String id);

    void changeOrder(ChangeOrderBO changeOrderBO);

    void deleteOrder(String id);

    void settleAccounts(Integer id, Integer goodsNum, Integer amount);

    void pay(String id);

    void confirmReceive(String id);

    void sendComment();
}
